package com.ruoyi.project.system.service;

import java.util.List;

import com.ruoyi.project.system.domain.SysAliPay;
import com.ruoyi.project.common.domain.Trade;

/**
 * aliPayService接口
 *
 * @author hongwj
 * @date 2023-08-15
 */
public interface ISysAliPayService {
    /**
     * 查询aliPay
     *
     * @param configId aliPay主键
     * @return aliPay
     */
    public SysAliPay selectSysAliPayByConfigId(Long configId);

    /**
     * 查询aliPay列表
     *
     * @param sysAliPay aliPay
     * @return aliPay集合
     */
    public List<SysAliPay> selectSysAliPayList(SysAliPay sysAliPay);

    /**
     * 新增aliPay
     *
     * @param sysAliPay aliPay
     * @return 结果
     */
    public int insertSysAliPay(SysAliPay sysAliPay);

    /**
     * 修改aliPay
     *
     * @param sysAliPay aliPay
     * @return 结果
     */
    public int updateSysAliPay(SysAliPay sysAliPay);

    /**
     * 批量删除aliPay
     *
     * @param configIds 需要删除的aliPay主键集合
     * @return 结果
     */
    public int deleteSysAliPayByConfigIds(Long[] configIds);

    /**
     * 删除aliPay信息
     *
     * @param configId aliPay主键
     * @return 结果
     */
    public int deleteSysAliPayByConfigId(Long configId);


    String toPayAsWeb(Trade trade) throws Exception;
}
